<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML
><HEAD
><TITLE
>Full Text Search</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
REV="MADE"
HREF="mailto:pgsql-docs@postgresql.org"><LINK
REL="HOME"
TITLE="PostgreSQL 9.1.2 Documentation"
HREF="index.html"><LINK
REL="UP"
TITLE="The SQL Language"
HREF="sql.html"><LINK
REL="PREVIOUS"
TITLE="Examining Index Usage"
HREF="indexes-examine.html"><LINK
REL="NEXT"
TITLE="Introduction"
HREF="textsearch-intro.html"><LINK
REL="STYLESHEET"
TYPE="text/css"
HREF="stylesheet.css"><META
HTTP-EQUIV="Content-Type"
CONTENT="text/html; charset=ISO-8859-1"><META
NAME="creation"
CONTENT="2011-12-01T22:07:59"></HEAD
><BODY
CLASS="CHAPTER"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="5"
ALIGN="center"
VALIGN="bottom"
><A
HREF="index.html"
>PostgreSQL 9.1.2 Documentation</A
></TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="top"
><A
TITLE="Examining Index Usage"
HREF="indexes-examine.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="top"
><A
HREF="sql.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="60%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="20%"
ALIGN="right"
VALIGN="top"
><A
TITLE="Introduction"
HREF="textsearch-intro.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="CHAPTER"
><H1
><A
NAME="TEXTSEARCH"
></A
>Chapter 12. Full Text Search</H1
><DIV
CLASS="TOC"
><DL
><DT
><B
>Table of Contents</B
></DT
><DT
>12.1. <A
HREF="textsearch-intro.html"
>Introduction</A
></DT
><DD
><DL
><DT
>12.1.1. <A
HREF="textsearch-intro.html#TEXTSEARCH-DOCUMENT"
>What Is a Document?</A
></DT
><DT
>12.1.2. <A
HREF="textsearch-intro.html#TEXTSEARCH-MATCHING"
>Basic Text Matching</A
></DT
><DT
>12.1.3. <A
HREF="textsearch-intro.html#TEXTSEARCH-INTRO-CONFIGURATIONS"
>Configurations</A
></DT
></DL
></DD
><DT
>12.2. <A
HREF="textsearch-tables.html"
>Tables and Indexes</A
></DT
><DD
><DL
><DT
>12.2.1. <A
HREF="textsearch-tables.html#TEXTSEARCH-TABLES-SEARCH"
>Searching a Table</A
></DT
><DT
>12.2.2. <A
HREF="textsearch-tables.html#TEXTSEARCH-TABLES-INDEX"
>Creating Indexes</A
></DT
></DL
></DD
><DT
>12.3. <A
HREF="textsearch-controls.html"
>Controlling Text Search</A
></DT
><DD
><DL
><DT
>12.3.1. <A
HREF="textsearch-controls.html#TEXTSEARCH-PARSING-DOCUMENTS"
>Parsing Documents</A
></DT
><DT
>12.3.2. <A
HREF="textsearch-controls.html#TEXTSEARCH-PARSING-QUERIES"
>Parsing Queries</A
></DT
><DT
>12.3.3. <A
HREF="textsearch-controls.html#TEXTSEARCH-RANKING"
>Ranking Search Results</A
></DT
><DT
>12.3.4. <A
HREF="textsearch-controls.html#TEXTSEARCH-HEADLINE"
>Highlighting Results</A
></DT
></DL
></DD
><DT
>12.4. <A
HREF="textsearch-features.html"
>Additional Features</A
></DT
><DD
><DL
><DT
>12.4.1. <A
HREF="textsearch-features.html#TEXTSEARCH-MANIPULATE-TSVECTOR"
>Manipulating Documents</A
></DT
><DT
>12.4.2. <A
HREF="textsearch-features.html#TEXTSEARCH-MANIPULATE-TSQUERY"
>Manipulating Queries</A
></DT
><DT
>12.4.3. <A
HREF="textsearch-features.html#TEXTSEARCH-UPDATE-TRIGGERS"
>Triggers for Automatic Updates</A
></DT
><DT
>12.4.4. <A
HREF="textsearch-features.html#TEXTSEARCH-STATISTICS"
>Gathering Document Statistics</A
></DT
></DL
></DD
><DT
>12.5. <A
HREF="textsearch-parsers.html"
>Parsers</A
></DT
><DT
>12.6. <A
HREF="textsearch-dictionaries.html"
>Dictionaries</A
></DT
><DD
><DL
><DT
>12.6.1. <A
HREF="textsearch-dictionaries.html#TEXTSEARCH-STOPWORDS"
>Stop Words</A
></DT
><DT
>12.6.2. <A
HREF="textsearch-dictionaries.html#TEXTSEARCH-SIMPLE-DICTIONARY"
>Simple Dictionary</A
></DT
><DT
>12.6.3. <A
HREF="textsearch-dictionaries.html#TEXTSEARCH-SYNONYM-DICTIONARY"
>Synonym Dictionary</A
></DT
><DT
>12.6.4. <A
HREF="textsearch-dictionaries.html#TEXTSEARCH-THESAURUS"
>Thesaurus Dictionary</A
></DT
><DT
>12.6.5. <A
HREF="textsearch-dictionaries.html#TEXTSEARCH-ISPELL-DICTIONARY"
><SPAN
CLASS="APPLICATION"
>Ispell</SPAN
> Dictionary</A
></DT
><DT
>12.6.6. <A
HREF="textsearch-dictionaries.html#TEXTSEARCH-SNOWBALL-DICTIONARY"
><SPAN
CLASS="APPLICATION"
>Snowball</SPAN
> Dictionary</A
></DT
></DL
></DD
><DT
>12.7. <A
HREF="textsearch-configuration.html"
>Configuration Example</A
></DT
><DT
>12.8. <A
HREF="textsearch-debugging.html"
>Testing and Debugging Text Search</A
></DT
><DD
><DL
><DT
>12.8.1. <A
HREF="textsearch-debugging.html#TEXTSEARCH-CONFIGURATION-TESTING"
>Configuration Testing</A
></DT
><DT
>12.8.2. <A
HREF="textsearch-debugging.html#TEXTSEARCH-PARSER-TESTING"
>Parser Testing</A
></DT
><DT
>12.8.3. <A
HREF="textsearch-debugging.html#TEXTSEARCH-DICTIONARY-TESTING"
>Dictionary Testing</A
></DT
></DL
></DD
><DT
>12.9. <A
HREF="textsearch-indexes.html"
>GiST and GIN Index Types</A
></DT
><DT
>12.10. <A
HREF="textsearch-psql.html"
><SPAN
CLASS="APPLICATION"
>psql</SPAN
> Support</A
></DT
><DT
>12.11. <A
HREF="textsearch-limitations.html"
>Limitations</A
></DT
><DT
>12.12. <A
HREF="textsearch-migration.html"
>Migration from Pre-8.3 Text Search</A
></DT
></DL
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="indexes-examine.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="textsearch-intro.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Examining Index Usage</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="sql.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Introduction</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>